package com.duobaoyu.dby.supply.biz.client.resource.bean.bo;

import com.duobaoyu.dby.common.core.validator.groups.Add;
import com.duobaoyu.dby.common.core.validator.groups.Edit;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName ParamConfigBO
 * @createTime 13:42:00 2023/10/08
 */
@Data
public class ParamConfigBO implements Serializable {
    private static final long serialVersionUID = 1226853174734228061L;

    /**
     * 管理后天展示名字
     */
    @NotBlank(message = "配置参数名称不能为空",groups = {Add.class, Edit.class})
    private String name;
    /**
     * 字段描述
     */
    private String description;
    /**
     * 字段名称
     */
    @NotBlank(message = "配置参数字段名称不能为空",groups = {Add.class, Edit.class})
    private String field;
    /**
     * 字段对应的值
     */
    @NotBlank(message = "配置参数字段对应的值不能为空",groups = {Add.class, Edit.class})
    private String fieldValue;
    /**
     * 表单类型
     */
    private String type;
}
